import random

#将鼓励语录入字典，制作鼓励语语库
blessing = ["Keep going",
            "Believing in yourself is the key to success.",
            "Always believing in yourself.never lose your heart!",
            "Time tames the strongest grief.",
            "There is only one me in this world." 
            "The future is in my hands. It’s totally up to me.",
            "Never underestimate your power to change yourself!",
            "Knowledge advances steps and not by leaps",
            "Young means limitless possibility",
            "Everyday and in every way I'm getting better"]

#随机生成鼓励语函数
def saying_making():
    """生成随机鼓励语"""
    return random.choice(blessing) #利用random函数从blessing中随机抽取一句鼓励语

print(saying_making())


